<me:UILIEFKO x:Class="WPFExcelReport.TLS06"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL"  
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"
                    xmlns:VL="clr-namespace:WPFExcelReport;assembly=TVERSART"  
                    xmlns:SD="clr-namespace:WPFExcelReport;assembly=TSDDAT" 
                    xmlns:ZA="clr-namespace:WPFExcelReport;assembly=TZABED"  
                    xmlns:TXT="clr-namespace:WPFExcelReport;assembly=TTXTIND"
                    xmlns:TK="clr-namespace:WPFExcelReport;assembly=TTXTKON"  
                    x:Name="TV"
                    FontSize="14"
                    Loaded="Window_Loaded"
     >
    <me:UILIEFKO.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
        <ucd:NOTConverter  x:Key="not"/>
    </me:UILIEFKO.Resources>
    <StackPanel  >
        <WrapPanel Visibility="Collapsed">
            <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=贸易方式:}}"></TextBlock>
            <SD:TSSD0241 Grid.Column="1"  
                             KEY="{Binding LIEFBED,ElementName=TV}" 
                             IsEdit="{Binding IsEdit,ElementName=TV}" 
                             ORDERNUM="{Binding LIEFBED,ElementName=TV}"/>
         
                <TextBlock  Text="{Binding Source={Localization:Translate Word=运输方式:}}"></TextBlock>
                <TextBlock  Text="{Binding LSKVERSART}"  Width="60" />
                <TextBlock  Text="{Binding Source={Localization:Translate Word=承运人:}}"></TextBlock>
                <TextBlock  Text="{Binding LSKSPEDSL}"  Width="60" />
                <VL:TSVL02  SART="{Binding SART,ElementName=TV}" 
                            KEY="{Binding VSPED,ElementName=TV}" 
                            Visibility="{Binding IsEdit,ElementName=TV,Converter={StaticResource bv}}"/> 
       
            <TextBlock Text="{Binding Source={Localization:Translate Word=付款方式:}}"/>
            <TextBlock Text="{Binding LSKZAHLBED}"  Width="60" />
            <ZA:TSZA02  KEY="{Binding ZAHLBED,ElementName=TV}"                          
                        ORDERNUM="{Binding ZAHLBED,ElementName=TV}"  
                        IsEdit="{Binding IsEdit,ElementName=TV}" />
           
        </WrapPanel>
        <WrapPanel Visibility="Collapsed">
            <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock  Grid.Column="0" Text="{Binding Source={Localization:Translate Word=开户名:}}"></TextBlock>
                <ex:TXT72  Grid.Column="2" 
                      Text="{Binding LSKBANKBEZ, Converter={StaticResource gb2312}}"
                      IsReadOnly="{Binding IsEdit,ElementName=TV,Converter={StaticResource not}}" 
                      MaxLength="40"   CharacterCasing="Upper"    Width="200" />

            </Grid>
        </WrapPanel>
        <WrapPanel Visibility="Collapsed">
            <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock  Grid.Column="0" Text="{Binding Source={Localization:Translate Word=SWIFT_CODE:}}"></TextBlock>
                <ex:TXT72  Grid.Column="1" Text="{Binding LSKBIC}" IsReadOnly="{Binding IsEdit,ElementName=TV,Converter={StaticResource not}}"  MaxLength="11" Width="150" />
            </Grid>
            <Grid Margin="10,0,0,0">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <TextBlock  Grid.Column="0" Text="{Binding Source={Localization:Translate Word=账号:}}"></TextBlock>
            <ex:TXT72  Grid.Column="2" 
                       Text="{Binding LSKIBAN, Converter={StaticResource gb2312}}"
                       IsReadOnly="{Binding IsEdit,ElementName=TV,Converter={StaticResource not}}" 
                       MaxLength="34"   CharacterCasing="Upper"    Width="200" />

        </Grid>
        </WrapPanel>

        <WrapPanel  Margin="10,0,0,0" Visibility="Collapsed">
            
                <TextBlock  Grid.Column="0" Text="{Binding Source={Localization:Translate Word=开户行:}}"></TextBlock>
                <ex:TXT72  Grid.Column="2" Text="{Binding LSKBANKORT, Converter={StaticResource gb2312}}" 
                           IsReadOnly="{Binding IsEdit,ElementName=TV,Converter={StaticResource not}}"  
                           MaxLength="40"   CharacterCasing="Upper"    Width="200" />
                <ex:TXT72  Grid.Column="2" Text="{Binding LSKBEM, Converter={StaticResource gb2312}}"
                           IsReadOnly="{Binding IsEdit,ElementName=TV,Converter={StaticResource not}}"  
                           MaxLength="40"   CharacterCasing="Upper"    Width="200" />
        </WrapPanel>
        <WrapPanel  Margin="10,0,0,0" Visibility="Collapsed">           
                <TextBlock  Grid.Column="0" Text="{Binding Source={Localization:Translate Word=地址:}}"></TextBlock>
                <ex:TXT72  Grid.Column="2" Text="{Binding LSKORTU, Converter={StaticResource gb2312}}"
                           IsReadOnly="{Binding IsEdit,ElementName=TV,Converter={StaticResource not}}"  
                           MaxLength="40"   CharacterCasing="Upper"    Width="200" />
            <ex:TXT72  Grid.Column="2" Text="{Binding LSKFILLER, Converter={StaticResource gb2312}}"
                           IsReadOnly="{Binding IsEdit,ElementName=TV,Converter={StaticResource not}}"  
                           MaxLength="49"   CharacterCasing="Upper"    Width="200" />
            
        </WrapPanel>
        <TXT:TXTTP Grid.Row="0"  Visibility="Collapsed"
                               Name="cTVF"
                               TART="LSK"
                               SIND="{Binding TXTISIND,ElementName=TV}"  
                               IsEdit="{Binding IsEdit,ElementName=TV}"
                               IsSaved="{Binding IsSaved,ElementName=TV}" 
                               VerticalAlignment="Top"/>
        <TK:TPT1YH  Name="cZZ" Grid.Row="1" Grid.Column="0" 
                              IsEdit="{Binding IsEdit,ElementName=cTVF}"
                              IsSaved="{Binding IsSaved,ElementName=cTVF}" 
                              PIND="{Binding PIND,ElementName=cTVF}"
                             />
    </StackPanel>
</me:UILIEFKO>
